package com.thinkgem.jeesite.modules.gen.entity;

import com.thinkgem.jeesite.kpoint.core.base.KpointBaseEntity;
import lombok.Data;;
import org.hibernate.validator.constraints.Length;

/**
 * 项目配置Entity
 * @author kongxiangsheng
 * @version 2018-11-05
 */
@Data
public class GenProjectModule extends KpointBaseEntity {
    public static final String COL_PROJECT_ID = "`project_id`";
    public static final String COL_MODULE_CODE = "`module_code`";
    public static final String COL_MODULE_NAME = "`module_name`";

    private static final long serialVersionUID = 1L;
    /**
     * 项目ID
     */
    @Length(min=1, max=20, message="项目ID长度必须介于 1 和 20 之间")
    private String projectId;
    /**
     * 模块编码
     */
    @Length(min=1, max=20, message="模块编码长度必须介于 1 和 20 之间")
    private String moduleCode;
    /**
     * 模块名称
     */
    @Length(min=1, max=40, message="模块名称长度必须介于 1 和 40 之间")
    private String moduleName;
}